package com.wyh.domain.vo.groupOne.threemeterTree.threemeterReading;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Api("用于展示用户迁出操作时三表代抄表VO")
public class ThreemeterReading_emigrationVO {
    @ApiModelProperty(value = "三表抄表表id",required = true)
    @NotNull(message = "传递过来的三表抄表表id不能为null")
   private Integer threemeterReadingId;
    @ApiModelProperty("三表性质")
    private Integer nature;
    @ApiModelProperty("三表名称")
    private String name;
    @ApiModelProperty("上期读数")
    private Double lastReading;
    @ApiModelProperty(value = "本期读数",required = true)
    @NotNull(message = "本期读数不能为空")
    private Double reading;
    @ApiModelProperty("倍率")
    private Integer multiplier;
    @ApiModelProperty(value = "本期用量",required = true)
    @NotNull(message = "本期用量不能为空")
    private Double dosage;
    @ApiModelProperty("单价")
    private BigDecimal price;
    @ApiModelProperty("金额")
    private BigDecimal receivable;
}
